package com.pengchuang.ACS.admin.boot.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.pengchuang.ACS.admin.api.dto.UserAuthDTO;
import com.pengchuang.ACS.admin.boot.entity.SysUser;
import com.pengchuang.ACS.common.utils.PageUtils;
import com.pengchuang.ACS.common.utils.R;

import javax.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncodingException;
import java.util.Map;

/**
 * @author： 乐哥聊编程(全平台同号)
 */
public interface ISysUserService extends IService<SysUser> {


    /**
     * 根据用户名获取认证用户信息，携带角色和密码
     *
     * @param username
     * @return
     */
    UserAuthDTO getByUsername(String username);

    PageUtils queryPage(Map<String, Object> params);

	R queryPageWithAuth(Map<String, Object> params) throws UnsupportedEncodingException;
}
